﻿using ChurchDiary.BLL;
using ChurchDiary.TableEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ChurchWebsite.Areas.Church.Controllers
{
    public class ChildDedicationController : Controller
    {
        //
        // GET: /Church/ChildDedication/

        public ActionResult Index()
        {
            return View();
        }

        /*
        public ActionResult AddChildDedication(EntityChildDedications ChildDedication)
        {
            return Json(new BLL_Member().InsertChildDedication(ChildDedication), JsonRequestBehavior.AllowGet);
        }
        public ActionResult UpdateChildDedication(EntityChildDedications ChildDedication)
        {
            return Json(new BLL_Member().UpdateChildDedication(ChildDedication), JsonRequestBehavior.AllowGet);
        }
        public ActionResult DeleteChildDedication(Guid dataId)
        {
            return Json(new BLL_Member().DeleteChildDedication(dataId), JsonRequestBehavior.AllowGet);
        }
        public ActionResult GetChildDedication(Guid dataId)
        {
            return Json(new BLL_Member().GetChildDedication(dataId), JsonRequestBehavior.AllowGet);
        }
        public ActionResult GetChildDedications()
        {
            return Json(new BLL_Member().GetChildDedications(), JsonRequestBehavior.AllowGet);
        }*/
    }
}
